package in.freshstart.java.training.conditions;

public class EquilateralTriangleCheck {
	public static void main(String[] args) {
		int a = 45;
		int b = 96;
		int c = 45;
		if ((a + b > c) && (b + c > a) && (c + a > b)) {
			if ((a == b) && (a == c) && (b == c)) {
				System.out.println("Equilateral triangle");
			} else {
				System.out.println("Not a Equilateral triangle");
			}

		} else {
			System.out.println("Not a Triangle");
		}
	}

}
